<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div>
    <form th:action="@{/log}" method="post">
        <table border="1">
            <tr>
                <th>登录页面</th>
            </tr>
            <tr>
                <td>
                    学号: <input name="xh" type="number" th:value="${xh}">
                </td>
            </tr>
            <tr>
                <td>
                    密码: <input name="password" type="password" th:value="${password}">
                </td>
            </tr>
            <tr>
                <th>
                    <input type="submit" value="登录">
                </th>
            </tr>
            <p style="color: red" th:text="${mess}"></p>
        </table>
    </form>
</div>
</body>
</html>